package com.ruoyi.report.forms.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 调度交接班管理对象 dispatch_change_shifts
 * 
 * @author ruoyi
 * @date 2024-05-14
 */
public class DispatchChangeShifts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 值班任务编号 */
    @Excel(name = "值班任务编号")
    private String planNo;

    /** 接班人员 */
    @Excel(name = "接班人员")
    private String successionUsers;

    /** 交接状态（已交班/未交班 ps:默认未交班） */
    @Excel(name = "交接状态", readConverterExp = "已=交班/未交班,p=s:默认未交班")
    private String successionType;

    /** 接班任务编号 */
    @Excel(name = "接班任务编号")
    private String jiebanPlanNo;

    /** 本班记事 */
    @Excel(name = "本班记事")
    private String classNotes;

    /** 接班开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接班开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jiebanStartTime;

    /** 接班结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接班结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jiebanEndTime;

    /** 值班记录 */
    @Excel(name = "值班记录")
    private String dutyRecord;

    /** 交班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date successionTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPlanNo(String planNo) 
    {
        this.planNo = planNo;
    }

    public String getPlanNo() 
    {
        return planNo;
    }
    public void setSuccessionUsers(String successionUsers) 
    {
        this.successionUsers = successionUsers;
    }

    public String getSuccessionUsers() 
    {
        return successionUsers;
    }
    public void setSuccessionType(String successionType) 
    {
        this.successionType = successionType;
    }

    public String getSuccessionType() 
    {
        return successionType;
    }
    public void setJiebanPlanNo(String jiebanPlanNo) 
    {
        this.jiebanPlanNo = jiebanPlanNo;
    }

    public String getJiebanPlanNo() 
    {
        return jiebanPlanNo;
    }
    public void setClassNotes(String classNotes) 
    {
        this.classNotes = classNotes;
    }

    public String getClassNotes() 
    {
        return classNotes;
    }
    public void setJiebanStartTime(Date jiebanStartTime) 
    {
        this.jiebanStartTime = jiebanStartTime;
    }

    public Date getJiebanStartTime() 
    {
        return jiebanStartTime;
    }
    public void setJiebanEndTime(Date jiebanEndTime) 
    {
        this.jiebanEndTime = jiebanEndTime;
    }

    public Date getJiebanEndTime() 
    {
        return jiebanEndTime;
    }
    public void setDutyRecord(String dutyRecord) 
    {
        this.dutyRecord = dutyRecord;
    }

    public String getDutyRecord() 
    {
        return dutyRecord;
    }
    public void setSuccessionTime(Date successionTime) 
    {
        this.successionTime = successionTime;
    }

    public Date getSuccessionTime() 
    {
        return successionTime;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("planNo", getPlanNo())
            .append("successionUsers", getSuccessionUsers())
            .append("successionType", getSuccessionType())
            .append("jiebanPlanNo", getJiebanPlanNo())
            .append("classNotes", getClassNotes())
            .append("jiebanStartTime", getJiebanStartTime())
            .append("jiebanEndTime", getJiebanEndTime())
            .append("dutyRecord", getDutyRecord())
            .append("successionTime", getSuccessionTime())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
